package com.example.demo.service.zl;

//import org.springframework.stereotype.Service;


import com.example.demo.entity.Permission;

import java.util.List;

public interface PermissionService {
     List<Permission> FINDALL();
     public List<Permission> findByName(String name);
     //添加
     public List<Permission> insert(String name,String descripion,String url,String pid,String perms, int type,String icon, int order_num);
     //删除
     public int delete(int id);
     //修改
     public List<Permission> update(int id, String name,String descripion,String url,String pid,String perms, int type,String icon, int order_num);



}
